#include "headfiles.h"

using namespace std;

int main(int argc, char **argv) {
    if (argc != 2) {
        cout << "Usage: " << argv[0] << " string" << endl;
        return 0;
    }

    string str(argv[1]);

    string p = longestPalindrome(str);

    cout << "Palindrome is:" << endl;
    cout << p << endl;

    return 0;
}
